local function main(userOb, msgData)
    local from = msgData.fromRank and tonumber(msgData.fromRank) or 0
    local to = msgData.toRank and tonumber(msgData.toRank) or 0
    return RANK_D:query_rank_data(userOb, msgData.name, from, to)
end

COMMAND_D:register_command("MSGC2SRankingList",GameCmdType.NONE, main)
